package com.boot.service;

import com.boot.DTO.DishDAO;
import com.boot.Vo.DishVo;
import com.boot.pojo.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.result.Result;

import java.util.List;

/**
* @author liyan
* @description 针对表【dish(菜品)】的数据库操作Service
* @createDate 2025-04-17 15:50:40
*/
public interface DishService extends IService<Dish> {

    Result saveWithFlavor(DishDAO dishDAO);

    Result queryDishList(DishVo dishVo);

    Result findById(Long id);

    Result findByCategory(Long categoryId);

    Result deleteByIds(List<Long> ids);

    Result updateStatus(Integer id, Integer status);

    Result updateDish(DishDAO dishDAO);
}
